package search

import (
	"google.golang.org/grpc"
	"context"
	"fmt"
)

// interceptor 拦截器
func interceptor(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (interface{}, error) {
	fmt.Println("到达拦截器了001")
	// 继续处理请求
	return handler(ctx, req)
}
